import React from 'react';
import { Tabs } from 'antd';
import AddFieldsForm from './AddFieldsForm';
import AddMutilFieldsFormList from './AddMutilFieldsFormList';
import AddComplexFormItem from './AddComplexFormItem';

export default function TestForm() {
  return (
    <Tabs defaultActiveKey="1">
      <Tabs.TabPane tab="动态增加字段" key="1">
        <AddFieldsForm />
      </Tabs.TabPane>
      <Tabs.TabPane tab="动态增加多个字段" key="2">
        <AddMutilFieldsFormList />
      </Tabs.TabPane>
      <Tabs.TabPane tab="动态增加复杂字段" key="3">
        <AddComplexFormItem />
      </Tabs.TabPane>
    </Tabs>
  );
}
